package com.turtle.feign;

import com.turtle.dto.BlogInfoDto;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author lijiayu
 * @date 2020/7/29
 * @description
 */
@RequestMapping("rpc-blog")
public interface BlogFeignApi {

    @GetMapping
    BlogInfoDto getBlogInfoById(@RequestParam("id") Long id);
}
